package com.qh.book.repository;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.qh.book.dataobj.Book;
/**
 * 
 * @author qihong
 * @date 2017年9月16日 下午8:09:41 
 * @Description: TODO
 */
public interface BookRepository extends JpaRepository<Book, String>,JpaSpecificationExecutor<Book>{

	public Page<Book> findByBookStatus(Integer status, Pageable pageable);
	
	public List<Book> findByBookIdIn(List<String> bookIdList);

	
}
